package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * @author jinlei
 * @version 1.0
 */
@Data
@TableName("ydd_link")
public class YddLink implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;//mediumint,
    private String title;//标题
    private String url;//路径地址
    private String des;//
    private String img;//图片路径
    private String type;//1是图片链接，2是文字链接
    @TableField("default_data")
    private String defaultData;//是否为默认数据，null表示不是，1表示是
}
